﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width" />
    <title>@ViewBag.Title</title>
    @Styles.Render("~/Content/css.css")
    @Scripts.Render("~/Scripts/jquery-1.7.1.min.js")
    @Scripts.Render("~/Scripts/bRoundCurve.js")
    @Scripts.Render("~/Scripts/slides.js")
    @Scripts.Render("~/Scripts/m_script/m_common.js")
    <!-- 解决IE6不缓存背景图片的问题-->
    <!--[if lte IE 6]>
<script type="text/javascript" src="js/png.js"></script>
	  <script type="text/javascript">
		DD_belatedPNG.fix('.pagination LI A');
	</script>
<script type="text/javascript">
document.execCommand("BackgroundImageCache", false, true);
</script>
<![endif]-->
    <script type="text/javascript">
        $(document).ready(function () {
            $("#Logout").click(function () {
                if (!confirm("你确定要注销当前用户吗?")) {
                    return false;
                }
            });
        });
    </script>
    </script>
</head>
<body>
    <div id="header">
        <div class="logonav">
            <h1 class="logo">
                <a title="回首页" href="/Manage">
                    <img alt="ps之家" src="/images/logo.jpg" /></a><span class="slide">ps之家--后台管理</span></h1>
        </div>
        <div class="mainnavinner">
            @if (HttpContext.Current.User.Identity.IsAuthenticated)
            { 
                <div id="divLog" style="float: right">
                    <div style="color: #00CCFF; display: inline-block">
                        你好!@HttpContext.Current.User.Identity.Name</div>
                    <div style="display: inline-block">
                        <a id="Logout" href="Logout">注销</a></div>
                </div>
            }
        </div>
        <div style="clear: both;">
        </div>
    </div>
</body>
</html>
